<template>
	<view>
		<view class="tui-mybg-box">
			<view class="tui-header-center">
				<view style="display: flex;justify-content: space-between;width:90%;align-items: center;">
					<!-- <image :src="user_profile.avatar" class="tui-avatar"></image> -->
					<image src="../../../static/Mine/5.png" class="tui-avatar"></image>
					<view class="headerinfo">
						<view class="headernickname">呢称</view>
						<view class="u-flex">
							<image src="../../../static/Mine/open-vip.png"
								style="border-radius:0%;width:146rpx;height:44rpx;"></image>
							<view class="headernum">查看个人信息
								<!-- <u-icon name="arrow-right" size="20" color='#000000' /> -->
								<image src="/static/Mine/right.png" style="width: 30rpx;height: 30rpx;"></image>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<order></order>
		<view class="section-2">
			<navigator class="item" open-type="switchTab" url="/pages/mart/mart" hover-class="none">
				<view class="title">
					<image src="../../../static/Mine/home_icon_baihuo1.png"></image>
					<view>商品</view>
				</view>
				<view class="tips">灵感商品 立即选购</view>
			</navigator>
			<navigator class="item" open-type="navigate" url="/pages/home/group-dinner" hover-class="none">
				<view class="title">
					<image src="../../../static/Mine/home_icon_baihuo1.png"></image>
					<view>企业团餐</view>
				</view>
				<view class="tips">50份起送</view>
			</navigator>
		</view>
		<!-- 礼包 -->
		<Membergiftbag></Membergiftbag>
		<!-- 礼包结束 -->
		<view class="content">
		     <view class="uni-list">
		         <view class="uni-list-cell" hover-class="uni-list-cell-hover" v-for="(item,index) in list" :key="index">
		              <view class="uni-list-cell-navigate uni-navigate-right">
		                   {{item.name}}
		              </view>
		         </view>
		     </view>
		</view>
	</view>
</template>

<script>
	import order from "../../../pages/Mine/personal/components/order.vue"
	import Membergiftbag from "../../../pages/Mine/personal/components/Membergiftbag.vue"
	export default {
		components:{
			order,Membergiftbag
		},
		data() {
			return {
				isLogin: true, //是否登录
				list:[
					{
					name:'会员'
				},
				{
					name:'联系我们'
				},
				{
					name:'联系我们'
				}
				]
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.tui-mybg-box {
		width: 100%;
		height: 200rpx;
		position: relative;

		.tui-header-center {
			position: absolute;
			width: 100%;
			height: 128rpx;
			left: 0;
			top: 55rpx;
			padding: 0 30rpx;
			box-sizing: border-box;
			display: flex;
			align-items: center;

			image {
				width: 90rpx;
				height: 90rpx;
				border-radius: 50%;
				// margin-right: 70rpx;
			}

			.tui-avatar {
				// flex-shrink: 0;
				width: 150rpx;
				height: 150rpx;
				display: block;
				// margin-right: 40rpx;
			}

			.headerinfo {

				.u-flex {
					display: flex;
					align-items: center;
					padding-top: 10rpx;
				}

				image {
					width: 140rpx;
					height: 52rpx;
				}

				.headernickname {
					font-size: 40rpx;
					font-weight: 400;
					// margin-bottom: 14rpx;
					// margin-top: -110rpx;
				}

				.headernum {
					font-size: 26rpx;
					color: #000000;
					padding-left: 130rpx;
				}
			}
		}
	}

	
	.section-2 {
		display: flex;
		justify-content: space-between;
		margin-bottom: 30rpx;
		
		.item {
			width: 335rpx;
			background-color: #EAEBEC;
			padding: 20rpx;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			border-radius: 12rpx;
			
			.title {
				width: 100%;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 32rpx;
				
				image {
					width: 60rpx;
					height: 60rpx;
					margin-right: 10rpx;
				}
			}
			
			.tips {
				color: #999;
				font-size: 26rpx;
			}
		}
	}
	
</style>
